<?php
/**
* @version		$Id: mod_seyretaio;
* @copyright	Copyright (C) 2010 Mustafa Dindar. All rights reserved.
* @license		GNU/GPL http://www.joomlaholic.com/gpl-2.0.txt
*/


defined('_JEXEC') or die('Restricted access');
class modSeyretAIOHelper
{
	function getvideos($params,  $videocount)
	{
		require_once (JPATH_SITE . DS . 'components' . DS . 'com_seyret'.DS."includes".DS."classes".DS."seyretapi.class.php");
		$videolisttype = $params->get("videolisttype", "latest");
		list ($videolist, $totalvidrowcount) = seyretapi::getvideolist($videolisttype, $videocount);
		return $videolist;
	}
}

